table {
  border-collapse: collapse;
}

table, th, tr, td {
  border: 1px solid #A9A9A9;
  padding-left: 3px;
  text-align: left;
  font-family: Arial, Verdana, Sans-serif;
}

th {
  background-color: #220088;
  padding-right: 20px;
  color: white;
  cursor: pointer;
}

.alternate {
  background-color: #ccc;
}

.ascend {
  background: #9999FF right no-repeat url("ascend.png");
}

.descend {
  background: #9999FF right no-repeat url("descend.png");
}